package edu.study.user.dao.mapperExt;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.github.pagehelper.Page;

import edu.study.user.api.dto.AuthDto;
import edu.study.user.api.req.auth.QueryAuthPageListReq;
import edu.study.user.dao.mapper.AuthDOMapper;
import edu.study.user.dbBean.AuthDO;

public interface AuthDOMapperExt extends AuthDOMapper {
	
	AuthDO queryByAuthNo(String authNo);
	
	AuthDO queryAuthForCheck(@Param("parentAuthNo") String parentAuthNo, @Param("authName") String authName);
		
	List<AuthDto> queryByParentAuthNo(String parentAuthNo);
	
	List<AuthDto> queryByRoleNo(String roleNo);
	
	Page<AuthDto> queryAuthPageList(QueryAuthPageListReq req);
}